home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / ps40sdk / examples / selection / selectorama / selectorama.pipl < prev    next >
Encoding:
Text File  |  1996-10-09  |  3.2 KB  |  184 lines

  1. #define RSCL32(a,b,c,d)        0x ## c ## d, 0x ## a ## b
  2. #define RSCS32(a)        a, 0x0
  3.  
  4. STRINGTABLE    DISCARDABLE
  5. BEGIN
  6.     16990,
  7.     "An integer is required between ^1 and ^2."
  8. END
  9.  
  10. STRINGTABLE    DISCARDABLE
  11. BEGIN
  12.     16991,
  13.     "A decimal number is required between ^1 and ^2."
  14. END
  15.  
  16. STRINGTABLE    DISCARDABLE
  17. BEGIN
  18.     16992,
  19.     "This plug-in requires Adobe Photoshop« ^1 or later functionality."
  20. END
  21.  
  22. STRINGTABLE    DISCARDABLE
  23. BEGIN
  24.     16993,
  25.     "This plug-in is incompatible with this version of the host program."
  26. END
  27.  
  28. STRINGTABLE    DISCARDABLE
  29. BEGIN
  30.     16001,
  31.     "Selectorama"
  32. END
  33.  
  34. 16000  PiPL  DISCARDABLE
  35. BEGIN
  36.     0x0001,     /* Must always be the first Byte */
  37.     RSCS32(0),     /* kCurrentPiPLVersion */
  38.     RSCS32(  8), /* Property Count */
  39.     "MIB8",
  40.     "dnik", /* 'kind' PIKindProperty*/
  41.     RSCS32(0),
  42.     RSCS32(4),
  43.     "MSB8",
  44.  
  45.     "MIB8",
  46.     "eman",/* 'name' PINameProperty */
  47.     RSCS32(0),
  48.     RSCS32(16),
  49.     "\x0ESelectorama...\0", 
  50.  
  51.     "MIB8",
  52.     "gtac", /* 'catg' PICategoryProperty */
  53.     RSCS32(0),
  54.     RSCS32(12),
  55.     "\x08AdobeSDK\0\0\0", 
  56.  
  57.     "MIB8",
  58.     "srev", /* 'vers' PIVersionProperty */
  59.     RSCS32(0),
  60.     RSCS32(4),
  61.     0, 1, 
  62.  
  63.     "MIB8",
  64.     "mtsh", /* 'hstm' PITerminology */
  65.     RSCS32(0),
  66.     RSCS32(20),
  67.     RSCS32(0), /* version */
  68.     "7Kds", /* classID */
  69.     "Mles", /* eventID */
  70.     16000, /* Terminology ID */
  71.     "\0\0\0\0\0\0", /* Unique string */
  72.  
  73.     "MIB8",
  74.     "edom", /* 'mode' PIImageModesProperty */
  75.     RSCS32(0),
  76.     RSCS32(4),
  77.     "\xFF\xC0\0\0",
  78.  
  79.     "MIB8",
  80.     "lbne", /* 'enbl' EnableInfoProperty */
  81.     RSCS32(0),
  82.     RSCS32(8),
  83.     "true\0\0\0\0", 
  84.  
  85.     "MIB8",
  86.     "68xw", /* 'wx86' PIWin32X86CodeProperty */
  87.     RSCS32(0),
  88.     RSCS32(12),
  89.     "ENTRYPOINT\0\0", 
  90.  
  91. END
  92.  
  93. STRINGTABLE    DISCARDABLE
  94. BEGIN
  95.     16000,
  96.     "Selectorama\n\nVersion 4.0\nCopyright ⌐ 1996, Adobe Systems Incorporated.\nAll rights reserved.\n\nAn example plug-in selection module for Adobe Photoshop«."
  97. END
  98.  
  99. STRINGTABLE    DISCARDABLE
  100. BEGIN
  101.     16989,
  102.     "paths cannot be made from pixel selections"
  103. END
  104.  
  105. 16000    aete    DISCARDABLE
  106. BEGIN
  107.     0x0001,
  108.     1,/* majorVersion|minorVersion */
  109.     0,/* language */
  110.     0,/* script */
  111.         1,/* SuiteCount */
  112.     "\10","AdobeSDK",
  113.     "\26","Adobe example plug-ins",
  114.     1935952695L,
  115.     1,
  116.     1,
  117.         1,/* EventCount */
  118.     "\24","AdobeSDK selectorama",
  119.     "\23","selectorama plug-in",
  120.     1935952695L,
  121.     1936026701L,
  122.     1853189228L,
  123.     "\0","",
  124.     0,
  125.     592014674L,
  126.     "\0","",
  127.     13,
  128.         4,
  129.     "\13","select area",
  130.     1097998368L,
  131.     1953719628L,
  132.     "\16","selection area",
  133.     8,
  134.     "\6","amount",
  135.     1097690740L,
  136.     1685026146L,
  137.     "\15","random amount",
  138.     0,
  139.     "\21","use channels from",
  140.     1130917491L,
  141.     1952673613L,
  142.     "\36","use composite target or merged",
  143.     8,
  144.     "\6","create",
  145.     1801679429L,
  146.     1952674373L,
  147.     "\13","create type",
  148.     8,
  149.         0,
  150.     0
  151.         3,
  152.     1953719628L,
  153.         3,
  154.     "\7","minimum",
  155.     1936018480L,
  156.     "\16","select minimum",
  157.     "\7","maximum",
  158.     1936018481L,
  159.     "\16","select maximum",
  160.     "\6","random",
  161.     1936215090L,
  162.     "\15","select random",
  163.     1952673613L,
  164.         2,
  165.     "\6","target",
  166.     1970496852L,
  167.     "\24","use target composite",
  168.     "\6","merged",
  169.     1970496845L,
  170.     "\24","use merged composite",
  171.     1952674373L,
  172.         3,
  173.     "\11","selection",
  174.     1668433200L,
  175.     "\16","make selection",
  176.     "\11","mask path",
  177.     1668433201L,
  178.     "\16","make mask path",
  179.     "\5","layer",
  180.     1668433202L,
  181.     "\12","make layer",
  182. END
  183.  
  184.